/**     
 * @Title: DemoMessage.java   
 * @Package me.xxy.mq.demo.entity   
 * @Description: TODO
 * @author weiwei 
 * @date 2018年5月30日 下午5:40:06   
 * @version V1.0     
 */
package me.xxy.mq.demo.entity;

import java.io.Serializable;

/**
 * @ClassName: DemoMessage
 * @Description: TODO
 * @author weiwei
 * @date 2018年5月30日 下午5:40:06
 * 
 */
public class DemoMessage implements Serializable {

	private static final long serialVersionUID = 553941091795331274L;

	private String value;

	/**
	 * 手机号，标识用户唯一身份
	 */
	private String mobile;

	/**
	 * 秒杀商品编号
	 */
	private String goodsRandomName;

	public DemoMessage() {
		super();
	}

	public DemoMessage(String value) {
		super();
		this.value = value;
	}

	public DemoMessage(String value, String mobile, String goodsRandomName) {
		super();
		this.value = value;
		this.mobile = mobile;
		this.goodsRandomName = goodsRandomName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getGoodsRandomName() {
		return goodsRandomName;
	}

	public void setGoodsRandomName(String goodsRandomName) {
		this.goodsRandomName = goodsRandomName;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("DemoMessage [value=");
		builder.append(value);
		builder.append(", mobile=");
		builder.append(mobile);
		builder.append(", goodsRandomName=");
		builder.append(goodsRandomName);
		builder.append("]");
		return builder.toString();
	}
}
